package com.opennice.soukaoti.vo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Perper entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Paper implements java.io.Serializable {

	// Fields

	private Integer PId;
	private MajorCatergroy majorCatergroy;
	private String PName;
	private Date PExaminationTime;
	private String PAuthor;
	private Integer memberId;
	private Date PUploadTime;
	private Date PUpdateTime;
	private String PRemark;
	private Integer PState;
	private Set paperTopics = new HashSet(0);

	// Constructors

	/** default constructor */
	public Paper() {
	}

	/** minimal constructor */
	public Paper(Integer PId, String PName, Integer memberId,
			Date PUploadTime, Integer PState) {
		this.PId = PId;
		this.PName = PName;
		this.memberId = memberId;
		this.PUploadTime = PUploadTime;
		this.PState = PState;
	}

	/** full constructor */
	public Paper(Integer PId, MajorCatergroy majorCatergroy, String PName,
			Date PExaminationTime, String PAuthor, Integer memberId,
			Date PUploadTime, Date PUpdateTime, String PRemark, Integer PState,
			Set paperTopics) {
		this.PId = PId;
		this.majorCatergroy = majorCatergroy;
		this.PName = PName;
		this.PExaminationTime = PExaminationTime;
		this.PAuthor = PAuthor;
		this.memberId = memberId;
		this.PUploadTime = PUploadTime;
		this.PUpdateTime = PUpdateTime;
		this.PRemark = PRemark;
		this.PState = PState;
		this.paperTopics = paperTopics;
	}

	// Property accessors

	public Integer getPId() {
		return this.PId;
	}

	public void setPId(Integer PId) {
		this.PId = PId;
	}

	public MajorCatergroy getMajorCatergroy() {
		return this.majorCatergroy;
	}

	public void setMajorCatergroy(MajorCatergroy majorCatergroy) {
		this.majorCatergroy = majorCatergroy;
	}

	public String getPName() {
		return this.PName;
	}

	public void setPName(String PName) {
		this.PName = PName;
	}

	public Date getPExaminationTime() {
		return this.PExaminationTime;
	}

	public void setPExaminationTime(Date PExaminationTime) {
		this.PExaminationTime = PExaminationTime;
	}

	public String getPAuthor() {
		return this.PAuthor;
	}

	public void setPAuthor(String PAuthor) {
		this.PAuthor = PAuthor;
	}

	public Integer getMemberId() {
		return this.memberId;
	}

	public void setMemberId(Integer memberId) {
		this.memberId = memberId;
	}

	public Date getPUploadTime() {
		return this.PUploadTime;
	}

	public void setPUploadTime(Date PUploadTime) {
		this.PUploadTime = PUploadTime;
	}

	public Date getPUpdateTime() {
		return this.PUpdateTime;
	}

	public void setPUpdateTime(Date PUpdateTime) {
		this.PUpdateTime = PUpdateTime;
	}

	public String getPRemark() {
		return this.PRemark;
	}

	public void setPRemark(String PRemark) {
		this.PRemark = PRemark;
	}

	public Integer getPState() {
		return this.PState;
	}

	public void setPState(Integer PState) {
		this.PState = PState;
	}

	public Set getPaperTopics() {
		return this.paperTopics;
	}

	public void setPaperTopics(Set paperTopics) {
		this.paperTopics = paperTopics;
	}

}